<template>
  <div class="home">
    <div class="container">
      <h1 class="title">大数据在线</h1>
      <p class="lead">专注于水产品大数据可视化</p>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import { reqTest } from "../../api";
reqTest().then(res=>{
  console.log(res,111111)
}).catch(err=>{
  console.log("发生错误了",err)
})
export default {
  data() {
    return {};
  },
  components: {}
};
</script>

<style scoped>
.home {
  width: 100%;
  height: calc(100vh - 71px);
  background: url("../../assets/showcase.png") no-repeat;
  background-size: 100% 100%;
}
.container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-top: 100px;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  color: white;
}
.title {
  font-size: 30px;
}
.lead {
  margin-top: 50px;
  font-size: 22px;
}
</style>